
<!DOCTYPE html>
<html>
    <head>
        <title>爱代练</title>
        <meta charset="UTF-8">        
        <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'> 
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />                 
        
        <link href="../../resource/ui-framework/easyui-1.5.2/themes/metro/easyui-c5a176a3d4.css" rel="stylesheet" />
        <link href="../../resource/ui-framework/easyui-1.5.2/themes/icon-77a4ded0c8.css" rel="stylesheet" />

        <link href="../../resource/ui-framework/bootstrap/3.0.3/css/bootstrap-a067b6d831.min.css" rel="stylesheet" />
        <link href="../../resource/ui-framework/bootstrap-daterangepicker/css/daterangepicker-886dba62c4.css" rel="stylesheet" />
        <link href="../../resource/ui-framework/font-awesome/css/font-awesome-a81d284b37.css" rel="stylesheet" />
        <link href="../../resource/ui-framework/admin-lte/css/AdminLET-7d58b99a7e.css" rel="stylesheet" />
        <link href="../../static/css/base-dc47892812.css" rel="stylesheet" />

        <link href="../../resource/ui-framework/jason/searchbox/css/searchbox-398327fb84.css" rel="stylesheet" />
        <link href="../../resource/ui-framework/jason/pager/css/pager-f077f5e880.css" rel="stylesheet" />
        <link href="../../resource/ui-framework/jason/status/css/status-5f59ab3856.css" rel="stylesheet" />
        <link href="../../resource/ui-framework/jason/selector/css/selector-23060c280e.css" rel="stylesheet" />
        <link href="../../resource/ui-framework/jason/button/css/button-5ef10c798a.css" rel="stylesheet" />
        <link href="../../resource/ui-framework/jason/orderarrow/css/orderarrow-dcf8eba7d1.css" rel="stylesheet" />
        
        <link href="../../static/css/table-0e491bc98f.css" rel="stylesheet" />
        <link href="../../static/css/easyui-ext-372f902530.css" rel="stylesheet" />      
        
    </head>
    <body class="skin-blue">

<header class="header">
    <a href="../order/operate" class="logo">
        <img src="../static/image/logo-inner.png" style="margin-top: 5px;" />
    </a>

    <nav class="navbar navbar-static-top" role="navigation">
        <div class="fl" style="width: 100%;">
            <div class="navbar-left">
                <ul class="nav navbar-nav">
                    <li class="dropdown user user-menu">
                        <a>你好，180****3023</a>
                    </li>
                    
                    <li>
                        <a href="/Report/MsgSummary">剩余短信数（<span >100</span>条）</a>
                    </li>
                    <li></li>
                </ul>
            </div>
            <div class="navbar-right">
                <ul class="nav navbar-nav">
                    <li>
                        <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=hhhsky&site=cntaobao&s=1&charset=utf-8" >
                            <img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=hhhsky&site=cntaobao&s=1&charset=utf-8" alt="点击这里给我发消息" />
                        </a>
                    </li>
                    <li>
                        <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=313985989&site=qq&menu=yes" style="margin-right: 20px;">
                            <img border="0" src="http://wpa.qq.com/pa?p=2:122041987:41" alt="点击这里给我发消息" title="点击这里给我发消息" />
                        </a>
                    </li>
                    <li class="dropdown user user-menu">
                        <a href="/system/addvalue" target="_blank">[ 短信充值 ]</a>
                    </li>
                    <li class="dropdown user user-menu">
                        <a href="/user/logout">[ 退出 ]</a>
                    </li>
                </ul>
            </div>
        </div>

        <div class="fl" style="width: 100%;">
            <marquee style="color: white; width: 100%;"
                onmouseover="this.stop()"
                onmouseout="this.start()"
                behavior="slide"
                scrollamount="5">
                
            </marquee>
        </div>
    </nav>
</header>

        <div class="alert alert-info alt-message" id="message" style="display:none">暂无消息！</div>

        <div class="wrapper row-offcanvas row-offcanvas-left">
            <aside class="left-side sidebar-offcanvas">

<input type="hidden" value="../../Company/Permission/140.html" id="hdnURL"/>
<section class="sidebar">
    <ul class="sidebar-menu" id="menu">
            <li class="treeview active">
                <a href="#">
                    <i class="fa fa-folder"></i><span>订单管理</span>
                    <i class="fa fa-angle-left pull-right"></i>
                </a>

                <ul class="treeview-menu">
                        <li><a href="../../order/create.html"><i class="fa"></i>订单创建</a></li>    
                        <li><a href="../../order/operate.html"><i class="fa"></i>订单管理</a></li>    
                </ul>
            </li>
            <li class="treeview active">
                <a href="#">
                    <i class="fa fa-user"></i><span>代练室管理</span>
                    <i class="fa fa-angle-left pull-right"></i>
                </a>

                <ul class="treeview-menu">
                        <li><a href="../../company/profile.html"><i class="fa"></i>企业资料</a></li>    
                        <li><a href="../../company/importsettings.html"><i class="fa"></i>导入设置</a></li>    
                        <li><a href="../../SMS/TemplateList.html"><i class="fa"></i>短信设置</a></li>    
                        <li><a href="../../company/tags.html"><i class="fa"></i>标签设置</a></li>    
                </ul>
            </li>
            <li class="treeview active">
                <a href="#">
                    <i class="fa fa-group"></i><span>人员管理</span>
                    <i class="fa fa-angle-left pull-right"></i>
                </a>

                <ul class="treeview-menu">
                        <li><a href="../../company/role.html"><i class="fa"></i>岗位管理</a></li>    
                        <li><a href="../../user/index.html"><i class="fa"></i>员工管理</a></li>    
                </ul>
            </li>
            <li class="treeview active">
                <a href="#">
                    <i class="fa fa-desktop"></i><span>内群管理</span>
                    <i class="fa fa-angle-left pull-right"></i>
                </a>

                <ul class="treeview-menu">
                        <li><a href="../../StaffLeveling/Index.html"><i class="fa"></i>打手管理</a></li>    
                        <li><a href="../../order/settlement.html"><i class="fa"></i>内群结算</a></li>    
                        <li><a href="../../Report/StatementSummary.html"><i class="fa"></i>内群账单</a></li>    
                </ul>
            </li>
            <li class="treeview active">
                <a href="#">
                    <i class="fa fa-bar-chart-o"></i><span>报表</span>
                    <i class="fa fa-angle-left pull-right"></i>
                </a>

                <ul class="treeview-menu">
                        <li><a href="../../report/stafforder.html"><i class="fa"></i>接单统计</a></li>    
                        <li><a href="../../customer/index.html"><i class="fa"></i>客户报表</a></li>    
                        <li><a href="../../Report/MsgSummary.html"><i class="fa"></i>短信报表</a></li>    
                </ul>
            </li>
            <li class="treeview active">
                <a href="#">
                    <i class="fa fa-user"></i><span>我的帐号</span>
                    <i class="fa fa-angle-left pull-right"></i>
                </a>

                <ul class="treeview-menu">
                        <li><a href="../../user/myprofile.html"><i class="fa"></i>我的资料</a></li>    
                </ul>
            </li>
    </ul>
</section>
            </aside>            

            <aside class="right-side">
                                
                <section class="content">
                    
<input type="hidden" id="roleID" value="140"/>

<div class="container" style="width:100%;">
    <div class="row">
        <div class="col-md-6">
            <ul>  
                <li class="ml10 fl">
                    岗位名：管理员
                </li>
                <li class="fr">
                    <a href="../role.html" class="btn-action">岗位管理</a>
                </li>
            </ul>
        </div>
        <div class="col-md-6">
            订单查看权限（根据状态）
        </div>
    </div>
    <div class="row mt10">
        <div class="col-md-6">
            <table class="order">
                <tr class="header">
                    <td style="width:100px;">模块名</td>
                    <td style="width:100px;">页面名</td>
                    <td>功能名</td>
                </tr>
                <tr class="project">
                        <td rowspan="2">订单管理</td>                                
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox" checked=checked />订单创建
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                            <input type="checkbox" checked=checked />一键导入
                            <input type="checkbox" checked=checked />导入文本设置
                    </td>
                </tr>
                <tr class="project">
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox" checked=checked />订单管理
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                            <input type="checkbox" checked=checked />编辑订单
                            <input type="checkbox"  />复制订单                                   
                            <input type="checkbox"  />电话                                    
                            <input type="checkbox" checked=checked />[平台]发单
                            <input type="checkbox"  />[平台]补时
                            <input type="checkbox"  />[平台]补款
                            <input type="checkbox"  />[平台]批量补款
                            <input type="checkbox"  />[平台]申请撤销
                            <input type="checkbox"  />[平台]同意撤销
                            <input type="checkbox"  />[平台]确认完单
                            <input type="checkbox" checked=checked />[内群]发单
                            <input type="checkbox" checked=checked />[内群]批量发单
                            <input type="checkbox" checked=checked />[内群]确认完单
                    </td>
                </tr>
                <tr class="project">
                        <td rowspan="7">代练室管理</td>                                
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox" checked=checked />企业资料
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox" checked=checked />导入设置
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox"  />发单账号
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox"  />代练要求
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox"  />发单价设置
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox" checked=checked />短信设置
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox" checked=checked />标签设置
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                        <td rowspan="2">人员管理</td>                                
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox" checked=checked />岗位管理
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox" checked=checked />员工管理
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                        <td rowspan="3">内群管理</td>                                
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox" checked=checked />打手管理
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox" checked=checked />内群结算
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox" checked=checked />内群账单
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                        <td rowspan="6">报表</td>                                
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox" checked=checked />接单统计
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox" checked=checked />客户报表
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                            <input type="checkbox"  />批量导出   
                    </td>
                </tr>
                <tr class="project">
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox" checked=checked />短信报表
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox"  =/>话费报表
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox"  />财务报表
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox"  />利润报表
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                        <td rowspan="1">工具</td>                                
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox"  />导出手机号
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
                <tr class="project">
                        <td rowspan="1">我的帐号</td>                                
                    <td style="text-align:left;text-indent:10px;min-width:80px;">
                        <input type="checkbox" checked=checked />我的资料
                    </td>
                    <td style="text-align:left;text-indent:10px;">
                    </td>
                </tr>
            </table>
        </div>
        <div class="col-md-6">
            <table class="order">
                <tr class="header">
                    <td style="width:100px;">订单状态</td>
                </tr>
                <tr class="project">
                    <td>
                        <input type="checkbox" checked=checked />未分配
                        <input type="checkbox" checked=checked />已分配
                        <input type="checkbox" checked=checked />代练中
                        <input type="checkbox" checked=checked />待验收
                        <input type="checkbox" checked=checked />已完成
                        <input type="checkbox" checked=checked />验收失败
                        <input type="checkbox" checked=checked />异常
                        <input type="checkbox" checked=checked />已撤销                            
                        <input type="checkbox" checked=checked />已结算                            
                        <input type="checkbox" checked=checked />已锁定                            
                        <input type="checkbox" checked=checked />异常                            
                        <input type="checkbox" checked=checked />仲裁中                            
                        <input type="checkbox" checked=checked />已仲裁                            
                        <input type="checkbox" checked=checked />撤销中                            
                        <input type="checkbox" checked=checked />已退款                    
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="row mt10">
        <div class="col-md-12" style="text-align:center;">
            <a id="btnUpdate" href="#" class="btn-action">提交修改</a>
        </div>
    </div>
</div>




                </section>
            </aside>
        </div>
        <div class="easyui-window" id="window" 
            data-options="modal:true,closed:true,minimizable:false,maximizable:false,collapsible:false,width:600,height:400">        
        </div>       
        <script src="../../resource/libs/jquery/jquery-1-4ed679c998.11.3.min.js"></script>
        <script src="../../resource/libs/ajaxfileupload-20caa375ef.js"></script>
        <script src="../../resource/ui-framework/bootstrap/3.0.3/js/bootstrap-7b3098bda9.min.js"></script>  
        <script src="../../resource/ui-framework/bootstrap-daterangepicker/js/moment-zh_cn-3d8809ccd6.js"></script>
        <script src="../../resource/ui-framework/bootstrap-daterangepicker/js/daterangepicker-bca1a72d19.js"></script>
        <script src="../../resource/ui-framework/admin-lte/app-bf15eda982.js"></script>                 
           
        <script src="../../resource/ui-framework/easyui-1.5.2/jquery-623c7c7acd.easyui.min.js"></script>
        <script src="../../resource/ui-framework/easyui/plugins/jquery-1db0d9c758.checkbox.js"></script>        
        <script src="../../resource/ui-framework/jason/searchbox/searchbox-3fc48f72fe.js"></script>
        <script src="../../resource/ui-framework/jason/pager/pager-0646a093e8.js"></script>
        <script src="../../resource/ui-framework/jason/status/sky-2d329149af.tools.status.js"></script>
        <script src="../../resource/ui-framework/jason/screenshot-paste-0b91b6bd4a.js"></script>
        <script src="../../resource/ui-framework/jason/selector/selector-a0b18d2070.js"></script>
        <script src="../../resource/ui-framework/jason/button/button-71f76513c7.js"></script>
        <script src="../../resource/ui-framework/jason/orderarrow/orderarrow-1bbd8bcec2.js"></script>
        <script src="../../resource/libs/clipboard-892cfb62e7.min.js"></script>
        <script src="../../resource/libs/template-2d62718262.js"></script>
        <script src="../../resource/libs/jquery-d833fe9e58.cookie.js"></script>
        <script src="../../resource/libs/common-21f077db5b.js"></script>
        <script src="../../resource/libs/tools-4754a28493.js"></script>        
        <script src="../../resource/libs/basePage-d30d50f2ce.js"></script>
        
    <script type="text/javascript">
        $().ready(function () {
            $('#btnUpdate').on('click', function () {
                var roleID = $('#roleID').val();
                var items = new Array();

                $('input[type="checkbox"]').each(function (index,item) {
                    var ids = $(item).attr('data-options');
                    var checked = $(item).attr('checked');

                    if (checked == 'checked') {
                        ids = ids + ',1';
                    } else {
                        ids = ids + ',0';
                    }

                    items.push(ids);
                });

                var data = {
                    ID: roleID,
                    Name: items.join('|')
                };

                post('/Company/Permission', JSON.stringify(data), function (res) {
                    if (res.success) {
                        message('更新成功');
                    } else {
                        message('更新失败');
                    }
                });
            });
        });
    </script>

        <script type="text/javascript">
            $().ready(function () {
                var url = $('#hdnURL').val();

                $('.sidebar .treeview').each(function (index, item) {
                    var btn = $(this).children("a").first();
                    var menu = $(this).children(".treeview-menu").first();

                    $(this).find('a').each(function (index, item) {
                        if ($(item).attr('href') == url) {
                            menu.show();
                            btn.children(".fa-angle-left").first().removeClass("fa-angle-left").addClass("fa-angle-down");
                        }
                    });
                });
            });
        </script>
    </body>
</html>